package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserZodiacForeign;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * UserZodiacForeign业务层接口
 */
public interface UserZodiacForeignService {

    /**
     * UserZodiacForeign分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserZodiacForeign> findPage(int page, int size);

    /**
     * 删除UserZodiacForeign
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserZodiacForeign数据
     *
     * @param userZodiacForeign
     */
    Integer update(UserZodiacForeign userZodiacForeign);

    /**
     * 新增UserZodiacForeign
     *
     * @param userZodiacForeign
     */
    Integer add(UserZodiacForeign userZodiacForeign);

    /**
     * 根据ID查询UserZodiacForeign
     *
     * @param id
     *
     * @return
     */
    UserZodiacForeign findById(String id);

    /**
     * 查询所有UserZodiacForeign
     *
     * @return
     */
    List<UserZodiacForeign> findAll(UserZodiacForeign userZodiacForeign);

}
